/**
 * Created by zhangsong on 2019/9/22.
 */
import { valueUniqueByKey } from '@/utils/utils';

const namespace = 'application-vehicles';

const state = {
  saveLoading: false,
  listLoading: false,
  listData: [],
};

const effects = {
  setState: '',
  getVehicleById: '',
  listByParam: '',
  modifyVehicleById: '',
  saveVehicle: '',
  removeById: '',
};

const reducers = {
  setState: '',
};

const subscriptions = {};

valueUniqueByKey(effects);
valueUniqueByKey(reducers);
valueUniqueByKey(subscriptions);

export default {
  Namespace: namespace,
  State: state,
  Effects: effects,
  Reducers: reducers,
  Subscriptions: subscriptions,
};
